namespace Web.Control.WWW.Learn
{
	using System;
	using System.Data;
	using System.Drawing;
	using System.Web;
	using System.Web.UI;
	using System.Web.Security;
	using System.Web.UI.WebControls;
	using System.Web.UI.HtmlControls;
	using System.Text.RegularExpressions;
	using System.Text;
    using Lx.Web.Common.UI;
    using Lx.Web.Common.ControlsUI;
	using System.Collections;
	using System.IO;
	using System.Xml;
	using System.Xml.Schema;


	public class CountryList : BaseControl
	{
		
		protected DataList dList;

		protected override void OnLoad(EventArgs e)
		{
			if(!Page.IsPostBack)
			{
				if(dList!=null)
				{
					DataTable dt = base.GetDTFromXml("Country.xml");
					dt.Columns[0].ColumnName = "CountryValue";
					dt.Columns[1].ColumnName = "CountryText";
					dList.DataSource = dt;
					dList.DataBind();
				}
			}
		}
	}

}
